package com.cyh.ebptasywar.cell;

import com.cyh.ebptasywar.logic.PromtWorkCellLogic;
import com.cyh.ebptpubjar.entitys.asywork.entity.WorkEntity;
import com.cyh.ebptpubjar.ebptlogger.EbptLogger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 工作类的抽象类
 */
@Component
public class PromtWorkCell extends BaseCell{
    @Autowired
    private PromtWorkCellLogic promtWorkCellLogic;

    /**
     * 执行任务
     * @param workEntity
     * @return
     */
    @Override
    public WorkEntity cellExcute(WorkEntity workEntity){
        EbptLogger.info(getClass(),"PromtWorkCell,cellExcute start");
        return null;
    }
    /**
     * 更新任务结果
     * @param workEntity
     * @return
     */
    @Override
    public void cellUpdate(WorkEntity workEntity){
        EbptLogger.info(getClass(),"PromtWorkCell,cellUpdate start");
    }
}
